#!/bin/bash

source ~/.bashrc

## 统一执行流失留存的mapreduce和插入mysql操作

#declare cur_date
#if [[ $# -eq 0 ]];then
#        cur_date=$(date +"%Y%m%d" -d "-1 day")
#elif [[ $# -eq 1 ]];then
#        cur_date=$1
#fi
echo "==========sh run_basic.sh $cur_date==========="

for i in {20150614..20150623};do
	echo $i
	sh run_basicMR.sh $i
	sh run_basicDB.sh $i
done

#sh run_basicMR.sh $cur_date
#sh run_basicDB.sh $cur_date
